<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>插值Attribute</title>
</head>
<body>

<div id="app">
    <div v-bind:id="dynamicId"></div>

    <button v-bind:disabled="isButtonDisabled">一个按钮</button>
</div>

<script src="../js/vue.js"></script>
<script>
    var app = new Vue({
        el: '#app',
        data: {
            dynamicId: 'aaa',
            isButtonDisabled: null
        }
    })
</script>
</body>
</html>